import request from "@/utils/request.js";

export const getPaymentAPI = (id) =>
  request(`/member/order/${id}`)

export const goToPay = (orderId, redirect) =>
  request(`/pay/aliPay`, { params: { orderId, redirect } })
